package com.hxy.uniappdemo.service;

import com.hxy.uniappdemo.bean.Purchase;
import com.hxy.uniappdemo.dao.PurchaseDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PurchaseService {
    @Autowired
    private PurchaseDao PurchaseDao;
    public List<Purchase> SelectAll()
    {
        return PurchaseDao.selectAll();
    }
}
